<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'Pet_class1.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link rel="stylesheet" href="css/style.css" type="text/css"></link>
	</head>

	<body>
		<center>
			<div id="top">
				<%@ include file="Admin_top.jsp"%>
			</div>
			<div id="center">
				<div id="centerleft">
					<img src="image/1-home_07.gif" border="0" />
					<div id="menulist">
						<!--功能菜单开始-->
						<%@ include file="Pet_left.jsp"%>
						<!--功能菜单结束-->
					</div>
					<img src="image/1-home_02.gif" border="0" id="i2" />
				</div>
				<div id="centerright">
					<div id="guide">
						您现在所在的位置：宠物在线系统>>管理端系统>>宠物管理>>增加宠物
					</div>
					<div id="main">
						<!--功能开始-->
						<s:form theme="xhtml" action="ClassTwoAction_insert">
							<table width="400">
								<caption>
									增加宠物2级类型
								</caption>
								<tr>
									<td width="180" height="50">
										已有类别名称：
									</td>
									<td width="230">
										<s:doubleselect name="oneclass" id="oneclass"
											list="classoneinfo" listKey="ClassOne_id"
											listValue="ClassOne_Name" doubleList="classtwoinfo"
											doubleName="twoclass" doubleListKey="ClassTwo_Id"
											doubleListValue="ClassTwo_Name" doubleId="twoclass"
											headerKey="-1" headerValue="请查看系统已有的宠物类型"
											doubleHeaderKey="-1" doubleHeaderValue="请查看系统中已有的二类宠物类型" />
									</td>
								</tr>
								<tr>
									<td width="180" height="50">
										增加"二类"宠物类型：
									</td>
									<td width="230">
										<s:textfield name="ClassTwo_newName" />
									</td>
									<td>
										<font color="red"><s:fielderror cssStyle="color:red">
												<s:param value="inserterror" />
											</s:fielderror> </font>
									</td>
								</tr>
							</table>
							<tr>
								<td width="180" height="50">
									<input type="submit" value="增加" />
								</td>
								<td width="180" height="50">
									<input type="reset" value="重置" />
								</td>
							</tr>
						</s:form>
						<div align="center"></div>
					</div>
				</div>
				<div style="clear: both"></div>
			</div>
		</center>
	</body>
</html>
